package com.atguigu.gmall.item.client.impl;

import com.atguigu.gmall.item.client.ItemFeignClient;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * 降级处理实现类
 */
@Component
public class ItemFeignClientImpl implements ItemFeignClient {
    @Override
    public Map getItem(Long skuId) {
        System.out.println("熔断之后降级处理");
        return null;
    }
}
